<!--<?php
print <<<EOT
-->

<!--Content Start-->
<table width="95%" border="0" align="center">
  <tr> 
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td>
    
      <form action="u_manage_add.php" method="post" name="form1">
      <table width="60%" align="left">
    
      <tr><td><font color=red>$alert_message</font>
      <table width="95%" border="0" align="center">
        <tr> 
          <td align="right">&nbsp; </td>
        </tr>
        <tr> 
          <td>
            <table border="0" cellspacing="0" cellpadding="2">
              <tr> 
                <td>&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
              <tr> 
                <td>Name :</td>
                <td>
                  <input type="text" class="text" name="name" value="$name">	  
                  <input name="action" type="hidden" value="add">
                </td>
              </tr>
              
              <tr> 
                <td>True Name :</td>
                <td>
                  <input type="text" class="text" name="truename" value="$truename">	  
                </td>
              </tr>
              
              <tr> 
                <td>Password :</td>
                <td>
                  <input type="password" class="text" name="pwd" value="">	  
                </td>
              </tr>
              
              <tr> 
                <td> Retype Password :</td>
                <td>
                  <input type="password" class="text" name="retype_pwd" value="">	  
                </td>
              </tr>
              
              <tr> 
                <td>Email :</td>
                <td>
                  <input type="text" class="text" name="email" value="$email" size=30>	  
                </td>
              </tr>
              
              <tr> 
                <td>Tel :</td>
                <td>
                  <input type="text" class="text" name="tel" value="$tel" size=30>	  
                </td>
              </tr>
              
              <tr> 
                <td>Fax :</td>
                <td>
                  <input type="text" class="text" name="fax" value="$fax" size=30>	  
                </td>
              </tr>
              
              <tr> 
                <td>User Type :</td>
                <td>
                  <select class="select" name="user_type">
                    
<!--
EOT;
foreach ($USER_TYPE_ARY as $k=>$v) {
    $selected = "";
    if (isset($user_type) && $user_type == $k) {
        $selected = "selected";    
    }
print <<<EOT
-->

                    <option value="$k" $selected>$v</option>
                    
<!--
EOT;
} print <<<EOT
--> 

                  </select>	  
                </td>
              </tr>
              
                                      
              
              <tr> 
                <td>&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
     </td></tr>
    
      <tr><td>
      <table width="95%" border="0" align="left">
        <tr> 
          <td align="center">
            <input type="image" src="../images/admin/bt_cancel.gif" width="78" height="23" onclick="location.href='u_manage.php'; return false;"> 
            <input type="image" src="../images/admin/bt_save.gif" width="76" height="22" onclick="form1.submit"> 
          </td>
        </tr>
      </table>
      </td></tr>
      </table>
      </form>

      <p>&nbsp;</p></td>
  </tr>
</table>
<!--Content End-->

<!--
EOT;
?>-->